package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 自定义短语对象 t_custom_phrase
 * 
 * @author wp
 * @date 2023-08-10
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
@Accessors(chain = true)
@TableName(value = "t_custom_phrase", excludeProperty = {"createBy","updateTime","updateBy","remark"})
public class CustomPhrase extends BaseEntity {

    /** ID */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /** 所属作业公司 */
    @ApiModelProperty("所属作业公司")
    private Long companyId;

    /** 报警类型 */
    @ApiModelProperty("报警类型")
    private Long alarmTypeId;

    /** 短语 */
    @ApiModelProperty("短语")
    private String phrase;
}
